#/bin/bash

# export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts
export FIP_DEPLOYDIR_ROOT=$PWD/../../stm32mp1
export FIP_DEPLOYDIR_FIP=$FIP_DEPLOYDIR_ROOT/fip

source /opt/st/stm32mp1/4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi 


# make -f $PWD/../Makefile.sdk all UBOOT_CONFIG=stm32mp15_defconfig
#  make -f $PWD/../Makefile.sdk  FIP_CONFIG=optee-sdcard UBOOT_CONFIG=default UBOOT_DEFCONFIG=stm32mp15_defconfig DEVICETREE=stm32mp157d-dk1 all
 make -f $PWD/../Makefile.sdk  FIP_CONFIG=optee-sdcard UBOOT_DEFCONFIG=stm32mp15_defconfig DEVICETREE=stm32mp157d-dk1 all